<%@ page language="java" contentType="text/html; charset=UTF-8" import="com.zd.entity.*"
    pageEncoding="UTF-8"%>
    
<!DOCTYPE html>
<html lang="zh">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>好看的表单示例</title>
<style>
  body {
    font-family: Arial, sans-serif;
    background: #f7f7f7;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
  }
  .form-container {
  width:300px;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  }
  .form-group {
    margin-bottom: 15px;
  }
  .form-group label {
    display: block;
    margin-bottom: 5px;
  }
  .form-group input[type="text"],
  .form-group input[type="password"],
  .form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box; /* 确保padding不会增加宽度 */
  }
  .form-group input[type="submit"] {
    background: #5cb85c;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease;
  }
  .form-group input[type="submit"]:hover {
    background: #4cae4c;
  }
</style>
</head>
<body>
<% 
	request.setCharacterEncoding("UTF-8");
	String userId=request.getParameter("userId");
	String userNickName=request.getParameter("userNickName");
	String userPass=request.getParameter("userPass");
	String userPhone=request.getParameter("userPhone");
	String risgterTime=request.getParameter("risgterTime");	
	String vip=request.getParameter("vip");
	
	
%>
<div class="form-container">
  <form action="adminSelectUserServlet" method="post">
    <div class="form-group">
      <label for="userId">id(不可修改)</label>
      <input type="text" id="userId" name="userId" value="<%=userId %>"  readonly >
    </div>
     <div class="form-group">
      <label for="userNickName">昵称:</label>
      <input type="text" id="userNickName" name="userNickName"  value="<%=userNickName %>">
    </div>
	 <div class="form-group">
      <label for="userPass">密码:</label>
      <input type="text" id="userPass" name="userPass"  value="<%=userPass %>">
    </div>
     <div class="form-group">
      <label for="username">电话号码:</label>
      <input type="text" id="userPhone" name="userPhone"  value="<%=userPhone %>">
    </div>

    <div class="form-group">
      <label for="vip">vip（0为非vip用户）</label>
      <input type="text" id="vip" name="vip" value="<%=vip %>" >
    </div>
   
    
    
    <div class="form-group">
      <input type="submit" value="修改">
    </div>
  </form>
</div>

</body>
</html>